home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5190 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: lrz-muenchen.de!news
  2. From: watzka@stat.uni-muenchen.de (Kurt Watzka)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: C type question
  5. Date: 8 Feb 1996 12:51:23 GMT
  6. Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
  7. Distribution: world
  8. Message-ID: <4fcrkb$qur@sparcserver.lrz-muenchen.de>
  9. References: <Pine.SUN.3.91.960202131027.20090A-100000@sun19.cs.cuhk.hk> <4et4rt$4f9@sparcserver.lrz-muenchen.de> <31187b6d.1859912@hector>
  10. NNTP-Posting-Host: sun2.lrz-muenchen.de
  11.  
  12. Kenn@owl-uk.co.uk (Ken Nicolson) writes:
  13.  
  14. >ua302aa@sun2.lrz-muenchen.de (Kurt Watzka) wrote:
  15.  
  16. >>What does your documentation for printf() say. It should say
  17. >>"%Lf"!
  18. >   ^^
  19.  
  20. I wrote it as an aswer to a question on printing long doubles!
  21.  
  22. >Is there a reason for using capital-ell instead of lowercase-ell for
  23. >long ints or floats? My compiler documentation says either is
  24. >acceptable, so is it just for readability since with a Sans-Serif
  25. >font, "l" looks very like an "I"?
  26.  
  27. Your compiler documentation is _not_ a reliable source for 
  28. information on format strings, obviously. You _need_ a capital-ell
  29. if you want to print a "long double"!
  30.  
  31. Kurt
  32. --
  33. | Kurt Watzka                             Phone : +49-89-2180-6254
  34. | watzka@stat.uni-muenchen.de
  35. | ua302aa@sunmail.lrz-muenchen.de
  36.